package com.xuerhua.yxt.dao;

import java.util.List;

import com.xuerhua.yxt.model.TeacherTermPoints;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.reqVo.PointsReqVO;
import com.xuerhua.yxt.view.PointItemView;
import com.xuerhua.yxt.view.PointTotalView;

public interface TeacherTermPointsMapper {

    int insertSelective(TeacherTermPoints record);

    TeacherTermPoints selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TeacherTermPoints record);
    //初始化教师学期积分数据
    int addTeacherTermPoints(PointsReqVO vo);
    //更新教师学期积分
    int updateTeacherTermPoints(PointsReqVO vo);
    //更新教师总积分
    int updateTeacherTotalPoints(PointsReqVO vo);
    
    PointTotalView selectTotalPointForTeacher(PointsReqVO vo);
    
    List<PointTotalView> selectTotalPointForTeacherByPage(Page<PointTotalView> page);
 
    List<PointItemView> selectPointItemForTeacherByPage(Page<PointItemView> page);
    
}